<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <link type="text/css" rel="stylesheet" href="../common/bootstrap/bootstrap.min.css">
    <link type="text/css" rel="stylesheet" href="../common/bootstrap/table/css/bootstrap-table.min.css">
    <link rel="stylesheet" href="../common/css/common.css" />

    <!--
        示例 list 的代码 拷贝到  真正的 员工管理界面/staff/staffList.html
    -->
</head>
<body>



<div class="form-groupd">
    <label for="searchStaffId" class="label-control">员工编号</label>
    <input type="text" class="form-control" id="searchStaffId" placeholder="员工编号">
</div>
<div class="form-groupd">
    <label for="searchName" class="label-control">员工姓名</label>
    <input type="text" class="form-control" id="searchName" placeholder="员工姓名">
</div>
<button type="button" class="btn btn-primary" onclick="staffManage.search()">搜索</button>



<!-- tableList -->
<div class="tab-pane"><!-- 面板  -->

    <!--  就是我们展示 分页得控件-->
    <table class="table table-striped table-hover table-bordered" id="staffList">
        <thead style="background-color: #BEDDFA">

        </thead>
    </table>

</div>


<!--  模态框 布局  -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="myModalLabel">
                    修改员工信息
                </h4>
            </div>
            <div class="modal-body">
                <form id="staffForm">
                    <div class="row">
                        <div class="col-md-4">
                            <div class="form-group input-group">
                                <span class="input-group-addon">员工编号</span>
                                <input class="form-control" placeholder="员工编号" readonly="readonly" name="staffId" id="staffId">
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="form-group input-group">
                                <span class="input-group-addon">员工姓名</span>
                                <input class="form-control" placeholder="员工姓名" name="staffName" id="staffName">
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="form-group input-group">
                                <span class="input-group-addon">员工手机号</span>
                                <input class="form-control" placeholder="员工手机号" id="phone" name="phone">
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-4">
                            <div class="form-group input-group">
                                <span class="input-group-addon">员工身份证</span>
                                <input class="form-control" placeholder="员工身份证" name="idCard" id="idCard">
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="form-group input-group">
                                <span class="input-group-addon">员工状态</span>
                                <select class="form-control" id="status" name="status">
                                    <option value="1">在职</option>
                                    <option value="2">离职</option>
                                    <option value="3">黑名单</option>
                                </select>
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="form-group input-group">
                                <span class="input-group-addon">员工角色</span>
                                <select class="form-control" id="roleId" name="roleId">
                                   <!-- <option></option>-->
                                </select>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-12">
                            <div class="form-group input-group">
                                <span class="input-group-addon">备注</span>
                                <input class="form-control" placeholder="备注" name="remake" id="remake">
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-12">
                            <div class="form-group input-group">
                                <span class="input-group-addon">员工地址</span>
                                <input class="form-control" placeholder="员工地址" name="address" id="address">
                            </div>
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭
                </button>
                <button type="button" class="btn btn-primary" onclick="updateStaff()">
                    确认
                </button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>



<!--

确认弹框的布局
-->
<!-- system modal start -->
<div id="ycf-alert" class="modal">
    <div class="modal-dialog modal-sm">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <h5 class="modal-title"><i class="fa fa-exclamation-circle"></i> [Title]</h5>
            </div>
            <div class="modal-body">
                <p>[Message]</p>
            </div>
            <div class="modal-footer">
                <center>
                    <button type="button" class="btn btn-primary ok" data-dismiss="modal">[BtnOk]</button>
                    <button type="button" class="btn btn-default cancel" data-dismiss="modal">[BtnCancel]</button>
                </center>
            </div>
        </div>
    </div>
</div>



</body>


<script type="text/javascript" src="../common/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="../common/bootstrap/bootstrap.min.js"></script>
<script type="text/javascript" src="../common/bootstrap/table/js/bootstrap-table.min.js"></script>
<script type="text/javascript" src="../common/bootstrap/table/js/bootstrap-table-zh-CN.min.js"></script>

<script type="text/javascript" src="../common/confirm/bootstrap.confirm.js"></script>
<script src="../staff/staffList.js"></script>

</html>